<html>
<head>
	<load href="__JS__/menu.js" />
	<load href="__JS__/leftmenubar.js" />
	<load href="__CSS__/header.css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>修改密码</title>
	<load href="__JS__/jQuery/jquery.js" />
   	<load href="__JS__/jQuery/jquery.form.js" />
	<script type="text/JavaScript">
       $(function(){
           $('#form1').ajaxForm({
				//beforeSubmit:  function(){alert("before");},  // pre-submit callback
				success:       complete,  // post-submit callback
				error:function(){alert("error");},
				dataType: 'json'
			});
           
			function complete(data){
			if (data.status==1)
			{
				window.location='__URL__/index';
             }else{
				$('#result').html(data.info).show();
             }
		}
	});
	</script>
</head>
<body>
<layout name="Auth:header" />
<div class="nowposition">
<a href='__APP__/index/index' class="nowpositionhref">主页</a>>
<a href='__URL__/index' class="nowpositionhref">后台管理</a>>
<a href="" class="nowpositionhref">修改密码</a>
</div>
<layout name="Auth:leftmenu" />
<div class="alterpw">
	<div id='result' style="position:relative; left:340px; "></div>	
	<div style="position:relative; left:340px; width:65%">
		<form id='form1' method="post" action="__URL__/alterpw_post">
			原始密码：<input type='password' name='password1'><br>
			新 密 码：<input type='password' name='password2'><br>
			再次输入：<input type='password' name='password3'><br>
			<input type='submit' value='提交'>
		</form>
	</div>
</div>
</body>
</html>